import React from 'react';
import {NavLink} from 'react-router-dom';

const navBar=()=>(
  <div>
    <NavLink to="/" activeClassName='Tactive'>bind复用</NavLink> |&nbsp;
    <NavLink to='/name' activeClassName='Tactive'>name复用</NavLink> |&nbsp;
    <NavLink to='/kekong' activeClassName='Tactive'>可控组件</NavLink> |&nbsp;
    <NavLink to='/nokekong' activeClassName='Tactive'>不可控组件</NavLink> |&nbsp;
  </div>
)
export default navBar;
